package mock

import (
    "fcs-api/src/client"
    "fcs-api/src/environment"

    "github.com/emicklei/go-restful"
    "git.inspur.com/x/clustermanager-client/cluster"
    "k8s.io/client-go/kubernetes"
    "k8s.io/client-go/rest"
    Metrics "k8s.io/metrics/pkg/client/clientset/versioned"
)

type MockClientManager struct {
}

func (self *MockClientManager) Client(req *restful.Request) (kubernetes.Interface, error) {
    return nil, nil
}

func (self *MockClientManager) MetricsClient(req *restful.Request) (Metrics.Interface, error) {
    return nil, nil
}
func (self *MockClientManager) EnvironmentClient(req *restful.Request, environmentId string) (kubernetes.Interface, error) {
    return nil, nil
}
func (self *MockClientManager) EnvironmentConfig(req *restful.Request, environmentId string) (*rest.Config, error) {
    return nil, nil
}
func (self *MockClientManager) InstanceClient(req *restful.Request, instance *cluster.K8sInstance) (kubernetes.Interface, error) {
    return nil, nil
}
func (self *MockClientManager) ClientWithEnvironment(req *restful.Request) (environment.Interface, kubernetes.Interface, error) {
    return nil, nil, nil
}

func (self *MockClientManager) Config(req *restful.Request) (*rest.Config, error) {
    return nil, nil
}
func (self *MockClientManager) FCConfig() (*rest.Config, error) {
    return new(rest.Config), nil
}

func (self *MockClientManager) VerberClient(req *restful.Request) (*client.ResourceVerber, error) {
    return nil, nil
}
func (self *MockClientManager) EnvironmentVerberClient(req *restful.Request, environmentId string) (*client.ResourceVerber, error) {
    return nil, nil
}
